//
//  RegistView.h
//  YiXiProject
//
//  Created by iMac on 2019/7/15.
//  Copyright © 2019 iMac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol RegistPageDelegate <NSObject>

-(void)selectHeadImg;       // 选择头像

-(void)clickregistPageButton:(NSInteger)tag;   // 点击X、注册、去登陆 按钮时 执行这里

@end

NS_ASSUME_NONNULL_BEGIN

@interface RegistView : UIView <UITextFieldDelegate>

@property (nonatomic, strong) UIImageView *imgmageView;    // 头像
@property (nonatomic, strong) UILabel *textLabel;          // 选择头像提示文字
@property (nonatomic, strong) UITextField *nameText;       // 名字
@property (nonatomic, strong) UITextField *emailText;      // 密码
@property (nonatomic, strong) UITextField *passText;       // 确认密码
@property (nonatomic, strong) UIButton *registButton;      // 注册按钮
@property (nonatomic, strong) UIButton *goLoginButton;      // 去登陆

@property (nonatomic, assign) NSInteger isSuccess;        // 1/ 符合注册条件   0/ 不符合
@property (nonatomic, weak)   id <RegistPageDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
